package tom.spring.cloud.msg;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;

/**
 * 输出管道，消息发送到消息中间件，生产者，管道返回类型必须为MessageChannel
 *
 * @author ZHUFEIFEI
 */
public interface MyOutput {
    String OUTPUT = "myOutput";

    @Output(OUTPUT)
    MessageChannel output();
}